﻿namespace WMS.FC.Domain.PersistenceObject.Business
{
    public class TrayPO : WarehousePOBase
    {
        /// <summary>
        /// 托盘条码
        /// </summary>
        public string Barcode { get; set; } = string.Empty;

        /// <summary>
        /// 状态编码
        /// </summary>
        public string StateCode { get; set; } = string.Empty;

        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; } = string.Empty;

        /// <summary>
        /// 工艺路径编码
        /// </summary>
        public string TechnologyRouteCode { get; set; } = string.Empty;

        /// <summary>
        /// 工艺工序编码
        /// </summary>
        public string TechnologyProcessCode { get; set; } = string.Empty;

        /// <summary>
        /// 容器条码
        /// </summary>
        public string ContainerBarcode { get; set; } = string.Empty;

        /// <summary>
        /// 托盘位置
        /// </summary>
        public int TrayPosition { get; set; } = 1;

        /// <summary>
        /// 最后经过站台编码
        /// </summary>
        public string? LastStationCode { get; set; }

        /// <summary>
        /// 最后经过站台时间
        /// </summary>
        public DateTime? LastStationTime { get; set; }

        /// <summary>
        /// 目标站台
        /// </summary>
        public string? TargetStationCode { get; set; }
    }
}
